#!/bin/bash

MY_CLASSPATH=/usr/lib/hadoop/conf/:/usr/lib/hbase/conf/
HBASE_TABLE=
TWITTER_USER=
TWITTER_PASSWORD=

for j in lib/*.jar ; do
  MY_CLASSPATH=${MY_CLASSPATH}:$j
done



java -cp ${MY_CLASSPATH} -Xmx1024m eu.dicodeproject.twitterstream.TwitterStream --username ${TWITTER_USER} --password ${TWITTER_PASSWORD} --tablename ${HBASE_TABLE}